home *** CD-ROM | disk | FTP | other *** search
Wrap
[DESCRIPTION]Gives you full control over a new window's attributes.[/DESCRIPTION] [HEAD CODE][/HEAD CODE] [BODY CODE]window.open('url to open','window name','attribute1,attribute2,attribute3') width=integer height=integer resizable=yes or no scrollbars=yes or no toolbar=yes or no (back,forward,stop etc.) location=yes or no (where you type the url) directories=yes or no (other special buttons) status=yes or no (statusbar) menubar=yes or no (File, Edit, etc.) copyhistory=yes or no (copies current window's history) screenX=number in pixels screenY=number in pixels left=number in pixels top=number in pixels[/BODY CODE] [NOTES]To make use of this you use the OnClick command, as in the below example which will open a new window without any toolbars or anything: <a href="#" onClick="window.open('mypage.html','MyPage', 'height=150,width=300,left=500,top=250,screenX=500,screenY=250,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no')">Bash Software</a> Note that you use both the left,top and screenX,screenY attributes. That is because Internet Explorer and Netscape use different attributes to accomplish the same thing.[/NOTES]